Piwik\Plugins\ScheduledReports\ScheduledReports C

Total Complexity 102
Dependencies 28
Dependents 1
Total lines 476
Lines of code 365
Logical lines of code 232
Comment lines 48
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
sendReport()
B
37 17 69
processReports()
A
51 10 22
segmentUpdated()
A
53 8 24
validateReportParameters()
S
52 6 26
deletePhoneNumber()
S
53 6 20
getReportMetadata()
S
58 6 14
getReportRecipients()
S
58 4 15
checkAdditionalEmails()
S
60 4 12
valueIsTrue()
S
77 4 3
deleteUserReportForSites()
S
65 4 9
getClientSideTranslationKeys()
S
49 1 36
getRendererInstance()
S
63 3 10
throwExceptionReportsAreUsingSegment()
S
63 2 10
segmentDeactivation()
S
68 2 7
getReportParameters()
S
74 2 5
allowMultipleReports()
S
73 2 5
getReportFormats()
S
74 2 5
deleteSiteReport()
S
67 2 7
renameDeprecatedModuleAndAction()
S
74 2 5
getDisplayFormats()
S
65 1 9
getPeriodToFrequency()
S
76 1 3
getPeriodFrequencyTranslations()
S
75 1 3
install()
S
75 1 4
reportAlreadySent()
S
71 1 5
getModel()
S
78 1 3
registerEvents()
S
72 1 3
deleteUserReport()
S
81 1 3
manageEvent()
S
78 1 3
templateReportParametersScheduledReports()
S
65 1 9
getTablesInstalled()
S
76 1 4
getReportTypes()
S
79 1 3
getStylesheetFiles()
S
80 1 3
getJsFiles()
S
91 1 2
markReportAsSent()
S
74 1 4